﻿

using System.Windows;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Messaging;
using Tp.Interfaces.Commands.BusinessCases;
namespace Tp.GeschaeftsfaelleViewModel
{
	  public class VerlorenViewModelCommands : IVerlorenViewModelCommands
	  {
			
			#region Properties

			public RelayCommand<FrameworkElement> ChangeViewCommand { get; set; }

			#endregion

			#region C-Tor

			public VerlorenViewModelCommands()
			{

			}

			#endregion

			#region Private methods

			private void RegisterCommands()
			{
				  this.ChangeViewCommand = new RelayCommand<FrameworkElement>(OnExecuteChangeView);
			}

			#endregion

			#region Commands

			private void OnExecuteChangeView(FrameworkElement view)
			{
				  Messenger.Default.Send(view);
			}

			#endregion
	  }
}
